package model

// by daoyi
import "simai_oa/tool"

type Users struct {
	Id         uint
	Username   string `json:"username" form:"username"`
	Age        int    `json:"age" form:"age"`
	Email      string `json:"email" form:"email"`
	CreateTime int64  `json:"create_time" form:"create_time"`
}

// 创建users表
func UsersCreate() {
	tool.Gdb.AutoMigrate(&Users{})
}
